package cn.gd.service.sealManagement;

import cn.gd.mapper.sealManagement.sealManagementMapper;
import cn.gd.pojo.Department;
import cn.gd.pojo.Sealusage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wyh
 * @version 1.80
 */
@Service
public class sealManagementServiceImpl implements sealManagementService{

    @Autowired
    private sealManagementMapper sealManagementService;

    @Override
    public List<Department> queryDepartment(String realName) {
        return sealManagementService.queryDepartment(realName);
    }

    @Override
    public int addDepartment(Sealusage sealusage) {
        return sealManagementService.addDepartment(sealusage);
    }
}
